package com.cskaoyan.mapper;

import com.cskaoyan.bean.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {

    // 插入一个学生，获取他自增的id值
    int insertStudentWithReturnId(@Param("student") Student student);


    // useGeneratedKeys
    int insertStudentUseGeneratedKeys(Student student);
}
